package com.itheima.pojo.cms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *专题关系
 */
@TableName(value ="cms_subject_product_relation")
@Data
public class CmsSubjectProductRelation implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *专题id
     */
    private Integer subjectId;

    /**
     *产品id
     */
    private Integer productId;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
